package designMode.buildMode.abstractFfactory.factoryImpl;

import designMode.buildMode.abstractFfactory.Provider;
import designMode.buildMode.abstractFfactory.Sender;
import designMode.buildMode.abstractFfactory.impl.MailSender;
import designMode.buildMode.abstractFfactory.impl.SmsSender;

/**
 * Created by Administrator on 2018/4/10.
 */
public class SendMailFactory implements Provider{

    @Override
    public Sender produce() {
        return new MailSender();
    }
}
